Contents | Index | < Browse | Browse >

LETTERfsetposULETTER Sets a file's byte cursor using a "fgetpos" value.

Overview
#include <stdio.h>

r = fsetpos(f,posn);

int r;
FILE *f;
const fpos_t *posn;

Portability
ANSI

Description
"fsetpos" repositions a file's byte cursor using the "fpos_t" information returned by a previous fgetpos call.

Returns
If everything went okay, zero is returned, otherwise a value unequal zero.